package com.cy.store.mapper;

import com.cy.store.domain.Cart;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;

/**
 * @description: TODO 
 * @author Administrator
 * @date 2025/2/28 16:27
 * @version 1.0
 */
@Mapper
public interface CartMapper {
    Integer insert(Cart cart);
    Integer updateNumByCid(Integer cid, Integer num, String modifiedUser, Date modifiedTime);
    Cart findByUidAndPid(Integer uid, Integer pid);
    Cart findByCid(Integer cid);
}
